module.exports = {
  publicPath: './',
  devServer: {
    port: 8080, // 端口
    proxy: {
      '/api': {
        // target: 'http://192.168.0.32:9010',
        target: 'http://47.108.58.38/tk',
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  },
  // lintOnSave: false // 取消 eslint 验证
}